package com.kelaite.procurement.service;

import java.util.List;

import com.kelaite.procurement.entity.TCompany;
import com.kelaite.procurement.entity.TDemand;
import com.kelaite.procurement.entity.TPipelineHeader;

public interface PipelineHeaderService {
	public TPipelineHeader save(TPipelineHeader persistence);

	public void deleteByPrimaryKey(Long id);
	
	public void deleteByObject(TPipelineHeader persistence);

	public TPipelineHeader getObject(Long id);
	
	public List<TPipelineHeader> getAll();

	public List<TPipelineHeader> getByProperty(String property, Object value);
	
	public List<TDemand> getAllDemandByCompany(TCompany company,  TDemand demand);
	
}
